import Home from './views/Home.vue'
import NotFound from './views/404.vue'



let routes = [
    {
        path: '/404',
        component: NotFound,
        name: ''
    },
    {
        path: '/',
        component: Home,
        name: '主页'
    },
    {
        path: '*',
        hidden: true,
        redirect: {path: '/404'}
    }
];

export default routes;